// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

Vue.config.productionTip = false

import {randomNum} from "./utils/koi";

Vue.prototype.randomNum = randomNum;

import dataV from '@jiaminghi/data-view';

Vue.use(dataV)

import * as echarts from 'echarts'

Vue.prototype.$echarts = echarts

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

import scroll from 'vue-seamless-scroll';

Vue.use(scroll)

// 引入全局css
import './assets/less/style.less';
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>'
})
